package main

import "fmt"

type myMap map[int]struct{}

func main() {
	m1 := make(myMap, 1)
	m2 := make(myMap, 1)
	m3 := make(myMap, 1)
	m4 := make(myMap, 1)
	m1[1] = struct{}{}
	m2[2] = struct{}{}
	m3[3] = struct{}{}
	m4[4] = struct{}{}
	s := make([]myMap, 0)
	s = append(s, m1, m2, m3, m4)
	fmt.Println(len(s))
	for _, m := range s {
		for k, _ := range m {
			fmt.Println(k)
		}
	}
}
